button: Don't care about sizing if no child is set
authorTimm Bäder <mail@baedert.org>
Thu, 18 May 2017 08:09:39 +0000 (10:09 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:13 +0000 (21:27 -0400)
commitb344267e6ccf4a059b3c34c1824ff5ddc4ab08ae
treed2b925b81f5467b013832951b2c579a23571c8ef
parent0bab8b8e0e2b0a265f9874ac84ad94a0ea51d83e
button: Don't care about sizing if no child is set

We don't need to care in this case since the default values should
always be assumed to be 0, and setting a baseline of 0 is just wrong
when orientation == HORIZONTAL, it should be -1 (or unset).
gtk/gtkbutton.c